package com.example.demo.service.Impl;

import com.example.demo.dao.IDeptDao;
import com.example.demo.enity.Dept;
import com.example.demo.service.IDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@SuppressWarnings({"all"})
@Service
public class DeptServiceImpl implements IDeptService {

    @Autowired
    private IDeptDao deptDao;

    @Override
    public Dept findByDeptno(Integer deptno) {
        return deptDao.findByDeptno(deptno);
    }
}
